# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=sigspotter
pkgver=1.0
pkgrel=5
pkgdesc='A tool that search in your HD to find which publishers has been signed binaries in your PC.'
url='http://www.security-projects.com/?SigSpotter'
groups=('blackarch' 'blackarch-windows' 'blackarch-misc')
license=('custom:unknown')
arch=('any')
makedepends=('unrar')
source=("$pkgname.rar::https://softpedia-secure-download.com/dl/1653d0875bdc5839c5768811ffc380f2/5f19e74f/100253179/software/portable/security/SigSpotter.rar")
#source=("$pkgname.rar::http://sbdtools.googlecode.com/files/SigSpotter.rar")
noextract=("$pkgname.rar")
sha512sums=('2796aacbebcfccbdfa4934cb31ef9a4c920bb61399da598d2958283c82dce978f70f3484bd3ff459c91c2ec1ba27e82aee71c709e189abe2d1601e26cc7e0aaf')

prepare() {
  unrar x "$pkgname.rar"
}

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "$pkgname.rar"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

